package org.flowable.stress;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

import java.time.LocalTime;

public class PrintService implements JavaDelegate {

    private static int num = 0;

    public void execute(DelegateExecution execution) {
        System.out.println(LocalTime.now() + " start.-----打印任务正在执行-----" + ++num + "-----" + LocalTime.now() + " end.");
    }

}
